package com.health.system.dto;

import com.health.system.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdminUserListPageDTO {
    private Long id;
    private String avatar;
    private String nickName;
    private Integer type;
    private List<Role> roles;
    private Boolean isEnabled;
    private String ipAddress;
    private String ipSource;
    private LocalDate createTime;
    private LocalDate lastLoginTime;
}
